<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" rel="stylesheet" href="css/personal.css"/>
    <script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="js/personal.js"></script>
    <title>个人中心-我的简历</title>
    <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var uid = localStorage.getItem("uid");
            alert(uid);
            var name;
            var sex;
            $("#sex1").click(function () {
                sex = "男";
            });
            $("#sex2").click(function () {
                sex = "女";
            });
            var birth;
            var nowlocation;
            var householdlocation;
            var hometown;
            var email;
            var jobstatus;
            var jobexperice;
            var schoolName;
            var gradyationTime;
            var degree;
            var degreeType;
            var subjectName;
            var subjectType;
            $("#experience1").click(function () {
                // alert($(this).text());
                jobexperice = "有";
            });
            $("#experience2").click(function () {
                // alert($(this).text());
                jobexperice = "无";
            });
            var expectjobvalue;
            $("#value1").click(function () {
                // alert($(this).text());
                expectjobvalue = "全职";
            });
            $("#value2").click(function () {
                // alert($(this).text());
                expectjobvalue = "兼职";
            });
            $("#value3").click(function () {
                // alert($(this).text());
                expectjobvalue = "实习";
            });
            var expectsal;
            var expectjoblocation;
            var expectposts;
            $("#next_btn").click(function () {
                name = $("[name='name']").val();
                expectsal = $("#sal").val();
                expectjoblocation = $("#expectlocal").val();
                expectposts = $("#series").val();
                birth = $("#birth").val();
                nowlocation = $("#localnow").val();
                householdlocation = $("#home").val();
                hometown = $("#browup").val();
                email = $("[name='email']").val();
                jobstatus = $("#status").val();
                $("#base_div").hide();
                $("#education_div").show();
                // alert("expectjobvalue"+expectjobvalue);
                // alert("jobexperice"+jobexperice)
            });
            $("#finesh").click(function () {
                schoolName = $("#schoolname").val();
                gradyationTime = $("#graduation_time").val();
                degree = $("#degree").val();
                degreeType = $("#type").val();
                subjectName = $("#classname").val();
                subjectType = $("#specialtype").val()
                $.get("PersonInfo/updateInfromation", {
                    "uid": uid,
                    "uname": name,
                    "gender": sex,
                    "birth": birth,
                    "nowLocation": nowlocation,
                    "houseHoldLocation": householdlocation,
                    "hometown": hometown,
                    "email": email,
                    "jobStatus": jobstatus,
                    "jobExperice": jobexperice,
                    "expectJobValue": expectjobvalue,
                    "expectSal": expectsal,
                    "expectjobLocation": expectjoblocation,
                    "expectPosts": expectposts,
                    "schoolName": schoolName,
                    "gradyationTime": gradyationTime,
                    "degree": degree,
                    "degreeType": degreeType,
                    "subjectName": subjectName,
                    "subjectType": subjectType,
                }, function (info) {
                    alert("info" + info.status);
                    if (info.status == 100) {
                        alert("修改成功");
                        window.location.href="index1.html";

                    } else {
                        alert("修改失败");
                    }
                });
            });
        });
    </script>
</head>

<body>
<div class="header">
    <div class="headerMain">
        <div class="Notice">
        </div>
        <div class="Account">
            <div class="Left">
                <div class="Info">
                    <font>退出</font>
                    <input type="button">
                    <div id="InfoPopup">
                        <ul>
                            <li><a href="index.html">退出</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="navTop">
    <div class="navTopmain">
        <div class="logo"><a><img src="images/logo_1.png"/><img src="images/logo_2.png"/></a></div>
    </div>
</div>
<div class="personalBody">
    <div id="base_div" class="perRightcon">
        <div class="JlBoxTit">
            <p class="tit1">基本资料/求职意向</p>
            <div class="tit2"></div>
            <p class="tit3">最高学历</p>
        </div>
        <div class="JlBoxCon">
            <h1><span>基本信息</span>
                <div></div>
            </h1>
            <div class="JlBoxLeft">
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>姓 名：</div>
                    <div class="inputtxt">
                        <input name="name" type="text" class="txt1"/>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>性 别：</div>
                    <div id="sex" class="inputtxt">
                        <div class="sex on" id="sex1">男</div>
                        <div class="sex" id="sex2">女</div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>出生年月：</div>
                    <div class="inputtxt">
                        <input id="birth" name="" type="date" class="txt8"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>现居住地：</div>
                    <div class="inputtxt">
                        <input id="localnow" name="" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>户口所在地：</div>
                    <div class="inputtxt">
                        <input id="home" name="" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>我成长在：</div>
                    <div class="inputtxt">
                        <input id="browup" name="" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div id="phone" class="nametxt"><span>*</span>手机号码：</div>
                    <div class="inputtxt">
                        <span id="phonenumber" class="phone">152*******56</span>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div id="email" class="nametxt"><span>*</span>电子邮箱：</div>
                    <div class="inputtxt">
                        <input name="email" type="email" class="txt3"/>
                        <b>可用来登录</b>
                    </div>
                </div>
            </div>
        </div>
        <div class="clear"></div>
        <div class="JlBoxCon">
            <h1><span>求职意向</span>
                <div></div>
            </h1>
            <div class="JlBoxLeft">
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>求职状态：</div>
                    <div class="inputtxt">
                        <select class="txtcon txt2" id="status" >
                            <option value="离职-随时到岗">离职-随时到岗</option>
                            <option value="在职-月内到岗">在职-月内到岗</option>
                            <option value="在职-考虑机会">在职-考虑机会</option>
                            <option value="在职-暂不考虑">在职-暂不考虑</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>相关工作经验：</div>
                    <div class="inputtxt">
                        <div class="typeJob on" id="experience1">有</div>
                        <div class="typeJob" id="experience2">无</div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望工作性质：</div>
                    <div class="inputtxt">
                        <div class="typeJob on" id="value1">全职</div>
                        <div class="typeJob" id="value2">兼职</div>
                        <div class="typeJob" id="value3">实习</div>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望月薪：</div>
                    <div class="inputtxt">
                        <select id="sal" class="txtcon txt2">
                            <option value="面议">面议</option>
                            <option value="30000以上">30000以上</option>
                            <option value="20000-30000">20000-30000</option>
                            <option value="10000-20000">10000-20000</option>
                            <option value="5000-10000">5000-10000</option>
                            <option value="5000以下">5000以下</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望工作地点：</div>
                    <div class="inputtxt">
                        <input id="expectlocal" name="" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>期望职位类别：</div>
                    <div class="inputtxt">
                        <input id="series" name="" type="text" class="txt7"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <button id="next_btn" class="nextBtn">进一步完善</button>
                </div>
            </div>
        </div>
    </div>
    <div id="education_div" class="perRightcon" hidden>
        <div class="JlBoxTit">
            <p class="tit1">基本资料/求职意向</p>
            <div class="tit2"></div>
            <p class="tit3 on">最高学历</p>
        </div>
        <div class="JlBoxCon">
            <h1><span>最高学历</span>
                <div></div>
            </h1>
            <div class="JlBoxLeft">
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>学校名称：</div>
                    <div class="inputtxt">
                        <input name="" type="text" class="txt3" id="schoolname"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>毕业时间：</div>
                    <div class="inputtxt">
                        <input id="graduation_time" name="" type="date" class="txt8"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>学历：</div>
                    <div class="inputtxt">
                        <select id="degree" class="txtcon txt2">
                            <option value="初中及一下">初中及一下</option>
                            <option value="中专/中技">中专/中技</option>
                            <option value="高中">高中</option>
                            <option value="大专">大专</option>
                            <option value="硕士">硕士</option>
                            <option value="本科">本科</option>
                            <option value="博士">博士</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>学历类型：</div>
                    <div class="inputtxt">
                        <select id="type" class="txtcon txt2">
                            <option value="普通高等教育（统招）">普通高等教育（统招）</option>
                            <option value="普通专升本（统招）">普通专升本（统招）</option>
                            <option value="成人高考">成人高考</option>
                            <option value="自考">自考</option>
                            <option value="电大">电大</option>
                            <option value="网络教育">网络教育</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>专业名称：</div>
                    <div class="inputtxt">
                        <input name="" type="text" class="txt3" id="classname"/>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <div class="nametxt"><span>*</span>专业类别：</div>
                    <div class="inputtxt">
                        <select id="specialtype" class="txtcon txt2">
                            <option value="哲学">哲学</option>
                            <option value="经济学">经济学</option>
                            <option value="法学">法学</option>
                            <option value="教育学">教育学</option>
                            <option value="文学">文学</option>
                            <option value="历史学">历史学</option>
                            <option value="理学">理学</option>
                            <option value="工学">工学</option>
                            <option value="农学">农学</option>
                            <option value="医学">医学</option>
                            <option value="军事学">军事学</option>
                            <option value="管理学">管理学</option>
                            <option value="艺术学">艺术学</option>
                        </select>
                    </div>
                </div>
                <div class="clear"></div>
                <div class="jldiv">
                    <button id="finesh" class="saveBtn">填写完毕</button>
                    <button id="previous_btn" class="preBtn">上一步</button>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="clear"></div>
<div class="footer">
</div>
</body>
<script type="text/javascript" src="js/jquery-1.12.4.min.js"></script>
<script>
    $(function () {
        $("#next_btn").on("click", function () {
            $("#base_div").hide();
            $("#education_div").show();
        });
        $("#previous_btn").on("click", function () {
            $("#base_div").show();
            $("#education_div").hide();
        });
    });
</script>
</html>
